OIPA Cycle Configuration
Configure the following properties in Cycle.properties.
# Enable Data Intake processing in this Cycle JVM.
dataIntake.enabled=true
# Select Kafka instead of JMS.
dataIntake.source=kafka
# Kafka connection and consumer identity.
dataIntake.kafka.bootstrapServers=<kafka-host>:<kafka-port>
dataIntake.kafka.topicName=DataIntakeQueue
dataIntake.kafka.groupId=data-intake-verification
dataIntake.kafka.clientId=oipa-data-intake
# Consumer tuning.
dataIntake.kafka.concurrency=1
dataIntake.kafka.autoOffsetReset=earliest
dataIntake.kafka.maxPollRecords=50
# Authentication.
dataIntake.kafka.securityProtocol=SASL_SSL
dataIntake.kafka.saslMechanism=SCRAM-SHA-512
# SCRAM or PLAIN credentials.
dataIntake.kafka.saslUsername=${KAFKA_SASL_USERNAME}
dataIntake.kafka.saslPassword=${KAFKA_SASL_PASSWORD}
# TLS truststore.
dataIntake.kafka.sslTrustStoreLocation=<path>/kafka.client.truststore.p12
dataIntake.kafka.sslTrustStorePassword=${KAFKA_SSL_TRUSTSTORE_PASSWORD}
dataIntake.kafka.sslTrustStoreType=PKCS12
The Spring configuration is selected dynamically:
<import resource="classpath:/dataIntake-spring-beans-${dataIntake.enabled}-${dataIntake.source:jms}.xml"/>
With dataIntake.enabled=true and dataIntake.source=kafka, OIPA loads: dataIntake-spring-beans-true-kafka.xml
A Cycle JVM restart is required after changing the Data Intake source or Kafka connection properties.